From e72f15341b221c615c475d9bdd1a33645eb77a6a Mon Sep 17 00:00:00 2001 From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Fri, 1 May 2020 16:12:29 -0600 Subject: [PATCH] fix windows issues with kml.h including windows.h (#551) windows.h defines macros for max and min, which lead to compiler warnings: random.h(125): warning C4003: not enough arguments for function-like macro invocation 'max' (compiling source file kml hasn't needed windows.h since ea82fa6d6 --- kml.cc | 4 ---- kml.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/kml.cc b/kml.cc index 83c0d18e9..102869893 100644 --- a/kml.cc +++ b/kml.cc @@ -20,10 +20,6 @@ */ -#ifdef __WIN32__ -# include -#endif - #include // for tolower, toupper #include // for fabs #include // for sscanf, printf diff --git a/kml.h b/kml.h index edf2a4e6b..375d50d08 100644 --- a/kml.h +++ b/kml.h @@ -22,10 +22,6 @@ #ifndef KML_H_INCLUDED_ #define KML_H_INCLUDED_ -#ifdef __WIN32__ -# include -#endif - #include // for tuple, make_tuple, tie #include // for QList -- 2.30.2